package com.zyg.demo.control;

import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.RecyclerView.LayoutManager;
import android.support.v7.widget.RecyclerView.State;
import android.support.v7.widget.StaggeredGridLayoutManager;
import android.view.View;

public class EditorGridItemDecoration extends RecyclerView.ItemDecoration {



    public EditorGridItemDecoration() {
    }

    @Override
    public void onDraw(Canvas c, RecyclerView parent, State state) {
    }


    @Override
    public void getItemOffsets(Rect outRect, View view, RecyclerView parent, State state) {
        outRect.set(10, 10, 10, 10);
    }
}